extern light_type;
extern char ip_addr[16];